﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WPF60.DemoModule
{
	/// <summary>
	/// Interaction logic for MeetingPoster.xaml
	/// </summary>
	public partial class MeetingPoster : UserControl
	{
		public MeetingPoster()
		{
			this.InitializeComponent();
		}





        public TimeSpan TimeToGo
        {
            get { return (TimeSpan)GetValue(TimeToGoProperty); }
            set { SetValue(TimeToGoProperty, value); }
        }

        // Using a DependencyProperty as the backing store for TimeToGo.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TimeToGoProperty =
            DependencyProperty.Register("TimeToGo", typeof(TimeSpan), typeof(MeetingPoster), 
            new UIPropertyMetadata(new TimeSpan(), PropertyChangedCallback));

	    private static void PropertyChangedCallback(DependencyObject o, DependencyPropertyChangedEventArgs args)
	    {
	    }
	}
}